package cn.stylefeng.guns.modular.mapper;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;

import cn.stylefeng.guns.modular.entity.IdjDictionary;

/**
 * <p>
 * 字典表 Mapper 接口
 * </p>
 *
 * @author TANGWJ
 * @since 2020-07-30
 */
public interface IdjDictionaryMapper extends BaseMapper<IdjDictionary> {

	Page<Map<String, Object>> getList(Page page, @Param("dictionaryName") String dictionaryName);
	
	IdjDictionary selectByKeyId(@Param("id") Long id);
	
	int update(IdjDictionary dict);
	
	int insert(IdjDictionary dict);
	
	int delete(@Param("id") Long id);
	
	List<String> selectDictionaryName();
}
